//
// Created by alexa on 5/2/2024.
//

#ifndef ARTILLERYSYSTEM_MAINTENANCECREW_H
#define ARTILLERYSYSTEM_MAINTENANCECREW_H

#include <vector>
#include "../_identifiable/Identifiable.h"
#include "../soldier/Soldier.h"

using namespace std;

class MaintenanceCrew : public Identifiable {
private:
    vector<string> soldiersIds;
public:
    const vector<string> &getSoldiersIds() const;

    MaintenanceCrew();

    void addSoldierId(string soldierId);

    void removeSoldierId(const string &soldierId);

    MaintenanceCrew& operator+=(const string& soldierId);

    MaintenanceCrew& operator-=(const string& soldierId);
};


#endif //ARTILLERYSYSTEM_MAINTENANCECREW_H
